package com.itmk.enity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 用户收货地址
 */
@Data
@TableName("user_shipping_address")
public class UserShippingAddress {

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;

    private String receiverName;

    private String receiverPhone; //手机号码

    private String province; //省份

    private String city; //城市

    private String district; //区县

    private String detailAddress; //详细地址

    //是否默认地址
    private Integer defaultFlag; // 0:否, 1:是

    private Integer status;    // 0:删除, 1:正常

    private Date createTime;

    private Date updateTime;
}
